package com.xiaomo.gitee.datamanager.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @TableName imagedes
 */
@TableName(value ="imagedes")
@Data
@AllArgsConstructor
@Schema(description = "图片描述映射对象",name = "图片描述映射模型",title = "图片描述映射模型")
@Hidden
public class Imagedes implements Serializable {

    @Schema(
            title = "id",
            name = "所属图片ID",
            example = "所属图片ID",
            format = "uuid",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private String id;

    @Schema(
            title = "description",
            name = "图片描述",
            example = "图片描述",
            format = "string",
            requiredMode = Schema.RequiredMode.AUTO
    )
    private String description;

    @Serial
    private static final long serialVersionUID = 1L;

}